package eerbaar.action.internal.lib;

import eerbaar.action.IAction;

public abstract class AbstractAction implements IAction {

    private int priority;

    private final String type;

    public AbstractAction(String type) {
        this.type = type;
    }

    @Override
    public int getPriority() {
        return this.priority;
    }

    @Override
    public String getType() {
        return this.type;
    }

    @Override
    public void setPriority(int priority) {
        this.priority = priority;
    }

    @Override
    public String toString() {
        return this.type;
    }

}
